package com.itheima.service;

import com.itheima.pojo.OrderInfoVo;
import com.itheima.pojo.Result;

/**
 * @version V1.0
 * @author: yongjichu
 * @date: 2020/1/18 17:42
 * @description:
 */
public interface OrderService {
    /**
     * 订单预约
     * @param orderInfoVo
     * @return
     */
    Result submit(OrderInfoVo orderInfoVo);

    /**
     * 下单成功后，查询的数据信息
     * @param id
     * @return
     */
    Result findByIdDetil(Integer id) throws Exception;
}
